	<script type="text/javascript">
		
	$(function(){


		
	})
		
	</script>
	<style>
 	body
	{
		background-image: url(../server/css/bg2.png);
	}

	#content
	{
		margin: 30px auto;
		padding: 50px;
		width: 780px;
		background: #ffffff;
		background: -moz-linear-gradient(top,#FFFFFF 0%,#F2D0E6 99%);
		background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#FFFFFF),color-stop(99%,#F2D0E6));
		 
		-webkit-border-radius: 10px;
		border-radius: 10px;
	}

	#header img
	{
		width: 50%;
	}
	#footer #img2{
		width: 90%;
	}
	.show{ 
		width:751px; 
		height:264px; 
		background-image: url(../server/css/roll.png);
		text-align:center; 
		color:#fff; 
		font-size:70px; 
		line-height: 230px;
		margin: 10px auto;
	}
	.btn a{ 
		display:block; 
		width:524px; 
		height:108px; 
		margin:30px auto; 
		text-align:center; 
		 
		text-decoration:none; color:#fff; 
		-moz-border-radius:150px; 
		-webkit-border-radius:150px; 
		border-radius:150px;
		font-size:30px; 
		line-height: 100px;
	}
	.btn a.start{ 
		background-image: url(../server/css/button.png);
	}
	.btn a.start:hover{ }
	.btn a.stop{ 
		background-image: url(../server/css/button2.png);
	}
	
	</style>

<div class="wrap">
	<?php foreach ($events as $evt) { ?>
	<div class="btn">
		<a href="<?php echo Yii::app()->homeUrl;?>?r=win/rolls&eventid=<?php echo $evt->id;?>" class="start" id="btn"><?php echo $evt->title;?>抽取一等奖</a>
	</div>
	<?php } ?>

	<div class="btn">
		<a href="<?php echo Yii::app()->homeUrl;?>?r=win/select" class="start" id="btn">抽取其他奖项</a>
	</div>

	<div class="btn">
		<a href="<?php echo Yii::app()->homeUrl;?>?r=win/check" class="start" id="btn">兑奖</a>
	</div>
</div>


